package cn.edu.zafu.bigdata.YinMingyan.chapter05;

public class Car implements Movable {
    // 实现Movable接口的move()方法
    @Override
    public void move() {
        System.out.println("The car is moving.");
    }

    // 实现Movable接口的stop()方法
    @Override
    public void stop() {
        System.out.println("The car has stopped.");
    }
}
